Euclid’s Algorithm for the Greatest Common Divisor

نویسنده

  • Desh Ranjan
چکیده

People have been using numbers, and operations on them like division, for a very long time for practical purposes like dividing up the money left by parents for children, or distributing ears of corn equally to groups of people, and more generally to conduct all sorts of business dealings. It may be a bit of a surprise that things like calculating divisors of numbers also form the core of today’s methods ensuring security of computer systems and internet communications. The RSA cryptosystem that is used extensively for secure communications is based on the assumed difficulty of calculating divisors of large numbers, so calculating divisors is important even today. A related and even more basic notion is that of multiples of quantities. A natural way to compare quantities is to “measure” how many times we need to aggregate the smaller quantity to obtain the larger quantity. For example, we may be able to compare two unknown lengths by observing that the larger length can be obtained by “aggregating” the smaller length three times. This provides a sense of how the two lengths compare without actually knowing the two lengths. The larger quantity may not always be obtainable from the smaller quantity by aggregating it an integral number of times. In this scenario, one way to think would be to imagine each of the two quantities to be made up of smaller (identical) parts such that both the quantities can be obtained by aggregating these smaller parts an integral number of times. Obviously, we will need a greater number of these parts for the larger quantity than for the smaller one. For example, when comparing two weights, one might observe that the larger one can be obtained by aggregating some weight 7 times whereas the smaller weight can be obtained by aggregating the same weight 5 times. This provides a basis for comparing the two weights. Of course, in the above scenario, one can also observe that if we chose even smaller parts to “split” the weights (say a quarter of the first one), the first weight would be obtained by aggregating this even smaller weight 28 times and the smaller of the two original weights would be obtained by aggregating this smaller part 20 times, which also provides us a sense of the relative magnitudes of

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Computational Number Theory and Applications to Cryptography

• Greatest common divisor (GCD) algorithms. We begin with Euclid’s algorithm, and the extended Euclidean algorithm [2, 12]. We will then discuss variations and improvements such as Lehmer’s algorithm [14], the binary algorithms [12], generalized binary algorithms [20], and FFT-based methods. We will also discuss how to adapt GCD algorithms to compute modular inverses and to compute the Jacobi a...

متن کامل

The concept of primes and the algorithm for counting the greatest common divisor in Ancient China

When people mention the number theoretical achievements in Ancient China, the famous Chinese Remainder Theorem always springs to mind. But, two more of them—the concept of primes and the algorithm for counting the greatest common divisor, are rarely spoken. Some scholars even think that Ancient China has not the concept of primes. The aim of this paper is to show that the concept of primes in A...

متن کامل

The Euclidean Algorithm

Euclid’s algorithm gives the greatest common divisor (gcd) of two integers, gcd(a, b) = max{d ∈ Z | d|a, d|b} If for simplicity we define gcd(0, 0) = 0, we have a function gcd : Z× Z −→ N with the following properties: Lemma 1 For any a, b, c, q ∈ Z we have: (i) gcd(a, b) = gcd(b, a). (ii) gcd(a,−b) = gcd(a, b). (iii) gcd(a, 0) = |a|. (iv) gcd(a− qb, b) = gcd(a, b). Proof. Trivial; for (iv) use...

متن کامل

On a Parallel Extended Euclidean Algorithm

A new parallelization of Euclid’s greatest common divisor algorithm is proposed. It matches the best existing integer GCD algorithms since it can be achieved in parallel Oε(n/log n) time using only n processors on a Priority CRCW PRAM.

متن کامل

Euclid's Algorithm, Guass' Elimination and Buchberger's Algorithm

It is known that Euclid’s algorithm, Guass’ elimination and Buchberger’s algorithm play important roles in algorithmic number theory, symbolic computation and cryptography, and even in science and engineering. The aim of this paper is to reveal again the relations of these three algorithms, and, simplify Buchberger’s algorithm without using multivariate division algorithm. We obtain an algorith...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2008